package org.j5108.beans;

/**
 * 用户类
 */
public class Users {
    private int id;
    private String name;
    private String pwd;
    private int age;
    private String sex;
    private int blood;
    private int[] hobby;

    public Users(int id, String name, String pwd, int age, String sex, int blood, int[] hobby) {
        this.id = id;
        this.name = name;
        this.pwd = pwd;
        this.age = age;
        this.sex = sex;
        this.blood = blood;
        this.hobby = hobby;
    }

    public Users() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getBlood() {
        return blood;
    }

    public void setBlood(int blood) {
        this.blood = blood;
    }

    public int[] getHobby() {
        return hobby;
    }

    public void setHobby(int[] hobby) {
        this.hobby = hobby;
    }
}

